<?php
global $_RQ,$_AR;
//判断是否来自场景体,底部菜单不变
if($_RQ['plugin_name']){
	$this->session('plugin_name',$_RQ['plugin_name']);
}
$plugin_name=$this->session('plugin_name')?$this->session('plugin_name'):'';
if($plugin_name){
	$return['footernav']=$this->plugin($plugin_name)->plugin_setting('basic')['footernav'];
}
$return['pluginset']=$this->plugin_setting('basic');
$sharelink='jy_jianghu/index//fromuser='.$_SESSION['uid'];
$return['sharedata']=array(
			'title'=>$return['pluginset']['share_title']?$return['pluginset']['share_title']:'大话笑傲江湖，浩然正气，快意恩仇！',
			'desc'=>$return['pluginset']['share_desc']?$return['pluginset']['share_desc']:'这些白云聚了又散，散了又聚，人生离合，亦复如斯--金庸',
			'link'=>custom_url($sharelink,true),
			'imgUrl'=>$return['pluginset']['share_image']?tomedia($return['pluginset']['share_image']):tomedia('../addons/jy_jianghu/resource/images/share.jpg')
);
?>